package com.han_meng_fei_sha.he_tong_jiu_fen.widget;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;

import com.han_meng_fei_sha.he_tong_jiu_fen.R;

public class MainActivity extends Activity {

    private DiffuseView mDiffuseView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
        mDiffuseView = (DiffuseView) findViewById(R.id.diffuseView);
    }

    public void start(View v){
        mDiffuseView.start();
    }

    public void stop(View v){
        mDiffuseView.stop();
    }
}
